package logic;

import java.util.List;
import data.*;

public class Finder implements IFinder {

	private IFinderDAO find = new JDBCFinderDAO();
	
	public List<Product> lastProductsFind(Integer n){
		return find.lastProductsFind(n);
	}
	
	public List<List<Product>> defaultFind(User u){
		return find.defaultFind(u);
	}
	
	public List<Product> newFind(List<String> l){
		return find.newFind(l);
	}
	
	public List<Product> randomFind(){
		return find.randomFind();
	}
	
	public List<String> getCategories(){
		return find.getCategories();
	}
	
}
